﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000103 RID: 259
	[Serializable]
	public class FogModel : PostProcessingModel
	{
		// Token: 0x170000DD RID: 221
		// (get) Token: 0x060004F7 RID: 1271 RVA: 0x00027C02 File Offset: 0x00025E02
		// (set) Token: 0x060004F8 RID: 1272 RVA: 0x00027C0A File Offset: 0x00025E0A
		public FogModel.Settings settings
		{
			get
			{
				return this.m_Settings;
			}
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x060004F9 RID: 1273 RVA: 0x00027C13 File Offset: 0x00025E13
		public override void Reset()
		{
			this.m_Settings = FogModel.Settings.defaultSettings;
		}

		// Token: 0x040006FD RID: 1789
		[SerializeField]
		private FogModel.Settings m_Settings = FogModel.Settings.defaultSettings;

		// Token: 0x02000104 RID: 260
		[Serializable]
		public struct Settings
		{
			// Token: 0x170000DE RID: 222
			// (get) Token: 0x060004FA RID: 1274 RVA: 0x00027C20 File Offset: 0x00025E20
			public static FogModel.Settings defaultSettings
			{
				get
				{
					return new FogModel.Settings
					{
						excludeSkybox = true
					};
				}
			}

			// Token: 0x040006FE RID: 1790
			[Tooltip("Should the fog affect the skybox?")]
			public bool excludeSkybox;
		}
	}
}
